package com.tuangou.tuangouheader.header.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author zjb
 * @email zjb@tuangou.com
 * @date 2021-06-17 21:08:21
 */
@Data
@TableName("tb_group_record")
public class GroupRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId
	private Integer id;
	/**
	 * 团长头像
	 */
	private String tzImage;
	/**
	 * 团长id
	 */
	private Integer tzId;
	/**
	 * 开团时间
	 */
	private Date createDate;
	/**
	 * 拼团商品id
	 */
	private Integer groupId;
	/**
	 * 几人参加
	 */
	private Integer currentPeonum;
	/**
	 * 结束时间
	 */
	private Date endDate;
	/**
	 * 拼团状态 0：未完成 1：已完成
	 */
	private Integer status;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTzImage() {
		return tzImage;
	}

	public void setTzImage(String tzImage) {
		this.tzImage = tzImage;
	}

	public Integer getTzId() {
		return tzId;
	}

	public void setTzId(Integer tzId) {
		this.tzId = tzId;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public Integer getCurrentPeonum() {
		return currentPeonum;
	}

	public void setCurrentPeonum(Integer currentPeonum) {
		this.currentPeonum = currentPeonum;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
